home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / telecomm / zmdm_src.arc / DECL.H < prev    next >
C/C++ Source or Header  |  1988-06-26  |  2KB  |  119 lines

  1.      /***********************************************\
  2.      *                        *
  3.      *  Decl.h - extern declarations for C libarary  *
  4.      *      must come after <stdio.h> is included    *
  5.     *                        *
  6.     *    Preprocessor symbol `MWC' should be        *
  7.     *    defined when using Mark Williams C        *
  8.     *                        *
  9.     *    Preprocessor symbol `MANX' should be       *
  10.     *    defined when using Manx Aztec C        *
  11.      *                        *
  12.     \***********************************************/
  13.  
  14. #ifndef DECL_H
  15.  
  16. extern    FILE *fopen(), *freopen(), *fdopen();
  17. #if (!(MANX || MWC))
  18. #ifndef DLIBS
  19. extern    FILE *fopena(), *freopa();
  20. extern    FILE *fopenb(), *freopb();
  21. #endif /* DLIBS */
  22. #endif /* MANX || MWC */
  23.  
  24. #if MANX
  25. extern FILE *tmpfile();
  26. #endif
  27.  
  28. extern    char    *etoa();
  29. extern    char    *ftoa();
  30. #if (!(MWC || MANX))
  31. #ifndef DLIBS
  32. extern    char    *getpass();
  33. #endif
  34. #endif
  35.  
  36. #ifndef MANX
  37. extern    char    *index();
  38. extern    char    *rindex();
  39. #endif
  40.  
  41. extern    char    *mktemp();
  42. extern    char    *strcat();
  43. extern    char    *strcpy();
  44. extern    char    *strncat();
  45. extern    char    *strncpy();
  46. extern    char    *calloc(), *malloc(), *realloc();
  47. #if (MWC || MANX || DLIBS)
  48. extern char *getenv();
  49. #endif
  50.  
  51. #if (!(MWC || MANX))
  52. extern    char    *sbrk();
  53. #endif
  54. extern    char     *gets(), *fgets();
  55. #if (!(MWC || MANX))
  56. #ifndef DLIBS
  57. extern    char     *ttyname();
  58. #endif
  59. #endif
  60.  
  61. #if (MWC || MANX)
  62. extern  char    *lmalloc(), *lcalloc(), *lrealloc();
  63. #endif
  64.  
  65. extern    double    atan();
  66. extern    double    atof();
  67. extern    double    ceil();
  68. extern    double    cos();
  69. extern    double    exp();
  70. extern    double    fabs();
  71. extern    double    floor();
  72. extern    double    fmod();
  73. extern    double    log();
  74. extern    double    pow();
  75. extern    double    sin();
  76. extern    double    sinh();
  77. extern    double    sqrt();
  78. extern    double    tan();
  79. extern    double    tanh();
  80.  
  81. extern    int    strlen();
  82. extern    int    (*signal())();
  83.  
  84. extern    long     atol();
  85. extern    long     ftell();
  86. extern    long    getl();
  87.  
  88. #ifndef DLIBS
  89. extern    long     lseek(), tell();
  90. #endif
  91.  
  92. #if (MWC || MANX)
  93. extern char    *memchr(), *memcpy(), *memset();
  94. extern char    *strchr(), *strerror(), *strpbrk(), *strrchr();
  95. extern char    *strstr(), *strtok();
  96. extern double    log10();
  97. extern double    frexp();
  98. extern double    ldexp();
  99. extern double    modf();
  100. extern double    asin(), acos(), atan2(), cosh();
  101. #endif /* MWC || MANX */
  102.  
  103. #ifdef MANX
  104. extern char    *memmove(), *memccpy(), *lmemccpy(), *lmemcpy();
  105. extern char    *lmemmove(), *lmemchr(), *lmemset(), *strdup();
  106. extern char    *scdir(), *tmpnam(), *bsearch();
  107. extern long    labs();
  108. extern double    cotan();
  109.  
  110. #define index    strchr
  111. #define rindex    strrchr
  112.  
  113. #endif /* MANX */
  114.  
  115. #define DECL_H
  116. #endif
  117.  
  118. /* -eof- */
  119.